import React, { Component } from 'react'
import { BrowserRouter as Router } from 'react-router-dom';

export default class RouteGuard extends Component {

    handleConfirm = () => {

    }

    render() {
        return <Router getUserConfirmation={this.handleConfirm}>
            {this.props.children}
        </Router>;
    }
}
